package cn.com.vastbase.hibernate.sample.quickstart;

import org.hibernate.dialect.PostgreSQLDialect;
import org.hibernate.type.BooleanType;
import org.hibernate.type.StandardBasicTypes;

import java.sql.Types;

public class VastbaseMysqlDialect extends PostgreSQLDialect {

    public VastbaseMysqlDialect() {
        super();
//        this.registerHibernateType(Types.BIT, StandardBasicTypes.BOOLEAN.getName());
//        this.registerColumnType(StandardBasicTypes.BOOLEAN.sqlType(), "bit");
//        registerColumnType( Types.BIT, "bit(1)" );

    }

}
